/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.order.dependencies.order;



import com.yiqi.liebang.feature.order.contract.OrderContract;
import com.yiqi.liebang.feature.order.presenter.OrderPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class OrderPresenterModule {
    private final OrderContract.View mView;

    public OrderPresenterModule(OrderContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public OrderContract.Presenter provideOrderPresenter(){
        return  new OrderPresenter(mView);
    }

}
